package zzs.generalframework.console.core.parameter.commonparameter.dimissiontype.service;

import java.util.List;

import zzs.generalframework.common.core.parameter.commonparameter.dimissiontype.DimissionTypeBO;
import zzs.generalframework.common.core.parameter.commonparameter.dimissiontype.DimissionTypeInfo;
import zzs.generalframework.console.common.exception.ConsoleException;
import zzs.generalframework.console.common.model.ConsoleReturnBO;

/**
 * @title
 * @description
 * @project zzs-console
 * @package zzs.generalframework.console.core.parameter.commonparameter.dimissiontype.service
 * @author zzs
 * @date 2018年2月2日
 * @version 1.0
 */
public interface IDimissionTypeService
{

	/**
	 * 保存离职类别信息
	 *
	 * @param dimissionType
	 * @return
	 */
	public ConsoleReturnBO saveDimissionType(DimissionTypeBO dimissionTypeBO);

	/**
	 * 保存离职类别信息列表
	 *
	 * @param dimissionTypeBOList
	 * @return
	 * @throws ConsoleException
	 */
	public ConsoleReturnBO saveDimissionType(List<DimissionTypeBO> dimissionTypeBOList) throws ConsoleException;

	/**
	 * 获取离职类别信息
	 *
	 * @param dimissionTypeInfo
	 * @return
	 */
	public ConsoleReturnBO getDimissionType(DimissionTypeInfo dimissionTypeInfo);

	/**
	 * 获取离职类别信息列表
	 *
	 * @param dimissionTypeInfo
	 * @return
	 */
	public ConsoleReturnBO listDimissionType(DimissionTypeInfo dimissionTypeInfo);

	/**
	 * 更新离职类别信息
	 *
	 * @param dimissionTypeBO
	 * @return
	 */
	public ConsoleReturnBO updateDimissionType(DimissionTypeBO dimissionTypeBO);

	/**
	 * 更新离职类别信息列表
	 *
	 * @param dimissionTypeBOList
	 * @return
	 * @throws ConsoleException
	 */
	public ConsoleReturnBO updateDimissionType(List<DimissionTypeBO> dimissionTypeBOList) throws ConsoleException;

	/**
	 * 删除离职类别信息
	 *
	 * @param dimissionTypeBO
	 * @return
	 */
	public ConsoleReturnBO removeDimissionType(DimissionTypeBO dimissionTypeBO);

	/**
	 * 删除离职类别信息列表
	 *
	 * @param dimissionTypeBOList
	 * @return
	 * @throws ConsoleException
	 */
	public ConsoleReturnBO removeDimissionType(List<DimissionTypeBO> dimissionTypeBOList) throws ConsoleException;

	/**
	 * 统计离职类别信息
	 *
	 * @param dimissionTypeBO
	 * @return
	 */
	public Long countDimissionType(DimissionTypeBO dimissionTypeBO);

}
